#ifndef _MH_CTRL_STATE_H
#define _MH_CTRL_STATE_H

enum {
    MH_CTRL_STATE_NORM   = 0,
    MH_CTRL_STATE_DOWN   = 1,
    MH_CTRL_STATE_MAX
};
enum {
    MH_CTRL_TYPE_BMP = 0,
    MH_CTRL_TYPE_CODE = 1,
    MH_CTRL_TYPE_YARN = 2,
    MH_CTRL_TYPE_SEL = 3,
    MH_CTRL_TYPE_SIGN = 4,
    MH_CTRL_TYPE_2YARN = 5,
    MH_CTRL_TYPE_CAM = 6,
};
enum {
    MH_CTRL_CLICK_DISABLE = 0x01,
};
typedef struct {
    BITMAP bmp[MH_CTRL_STATE_MAX];
    uchar state;
    uchar type;
    uchar mode;
    uchar rsvd2;
}MH_CTRL_STATE;

BOOL RegisterMhCtrlState (void);
void UnregisterMhCtrlState (void);
int GetCtrlState(HWND hWnd);
void SetCtrlState(HWND hWnd, int state);
int GetCtrlType(HWND hWnd);
void SetCtrlType(HWND hWnd, int type);

#endif
